| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

VertexComponentWrapper.h
1 // VertexComponentWrapper.h
3 //
5
6 namespace nkAstraeus::nkGraphicsWrap
7 {
11 class VertexComponentWrapper final
12 {
13 public :
14
15 // Environment update
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
24 // Accès vertex
35 static nkScripts::OutputValue getPosition (void* data) ;
46 static void setPosition (const nkScripts::DataStack& stack) ;
57 static nkScripts::OutputValue getNormal (void* data) ;
68 static void setNormal (const nkScripts::DataStack& stack) ;
79 static nkScripts::OutputValue getColor (void* data) ;
90 static void setColor (const nkScripts::DataStack& stack) ;
91 } ;
92 }
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper
Wraps a nkGraphics::VertexComponent and offers functions for use in scripting.
Definition: VertexComponentWrapper.h:12
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::getNormal
static nkScripts::OutputValue getNormal(void *data)
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::getPosition
static nkScripts::OutputValue getPosition(void *data)
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::setNormal
static void setNormal(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::setPosition
static void setPosition(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::getColor
static nkScripts::OutputValue getColor(void *data)
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7
nkAstraeus::nkGraphicsWrap::VertexComponentWrapper::setColor
static void setColor(const nkScripts::DataStack &stack)